package com.jwaoo.chat;

/**
 * Created by jwaoo on 2017/7/1.
 */

public class ChatConstants {

    /**
     * 文本消息类型
     */
    public final static int text = 1;

    /**
     * 图片消息
     */
    public final static int image = 2;

    /**
     * 音频消息
     */
    public final static int audio = 4;

    /**
     * 视频消息
     */
    public final static int video = 3;


    /**
     * 文件消息
     */
    public final static int file = 6;

    /**
     * 通知消息
     */
    public final static int notification = 8;

    /**
     * 提醒类型消息
     */
    public final static int tip = 9;

    /**
     * 阅后即焚
     */
    public final static int snap = 1;
    public final static int unsnap = 0;
    public final static int audio_chat = 6;

    public final static int video_chat = 7;

    /**
     * 正在发送中
     */
    public final static int  sending = 0;

    public final static int CHAT = 11;

    /**
     * 发送成功
     */
    public final static int success = 1;

    /**
     * 发送失败
     */
    public final static int fail = 5;

    /**
     * 发出去的消息
     */
    public final static int Out = 0;
    /**
     * 接收到的消息
     */
    public final static int In = 1;

    public final static int isRead = 1;
    public final static int unRead = 0;

    //文件正在传输
    public final static int transferring = 0;
    //文件传输完成
    public final static int transferred =1;

    public final static String ACTION = "com.broadcast.message.session";
    public final static String ACTION_MESSAGE = "com.broadcast.message";
    public final static String ACTION_AV_MESSAGE = "com.broadcast.message.av";
}
